#ifndef ENQUEUER_H_
#define ENQUEUER_H_

#include <string>
#include <string.h>

#include "MsgQueue.h"
#include "Message_Queue.h"

class Enqueuer {

	private:
		Message_Queue<messageQueue>* cola;

	public:
		Enqueuer( const std::string& file, const char key );
		~Enqueuer();
		bool enqueue( const int id, const std::string& text ) const;

		void cerrar();
};

#endif /* ENQUEUER_H_ */
